<?php PageUtil::addVar("stylesheet","<link href=\"".$stylepath."/brand.css\" rel=\"stylesheet\">");?>
<form action="<?php echo base_url('admin/brand/addmodel'); ?>" method="post" class="form-horizontal" >
  <div class="content_block col-xs-12 col-sm-12 col-md-12 col-lg-12">    
    <h2>เพิ่มรุ่นสำหรับยี่ห้อ <?php echo $brand[0]["name"];?></h2>
    <input type="hidden" name="brand_id" value="<?php if(!empty($brand[0]['id'])) echo $brand[0]['id']; ?>">
    <div class="form-group">
      <label class="col-lg-4 control-label" for="name">ชื่อรุ่น</label>
      <div class="col-lg-4">
        <textarea name="name" rows="10" class="form-control"></textarea>
        <p>
          <small>1 แถวต่อ 1 Tag</small>
        </p>
      </div>
    </div>

    <div class="form-group">
      <label class="col-lg-4 control-label" for="name"></label>
      <div class="col-lg-4">
        <button type="submit" class="btn btn-primary" id="submitbtn" name="submit" value="submit">Submit</button>
        <button type="reset" class="btn">Cancel</button>
      </div>
    </div>
  </div>
</form>
